package br.net.woodstock.tickettoride.api.manager;

import java.util.Collection;

import br.net.woodstock.rockframework.domain.service.Service;
import br.net.woodstock.tickettoride.orm.Certificate;

public interface CertificateService extends Service {

	Certificate getById(Integer id);

	Certificate getByApplication(Integer applicationId);

	Integer create(CertificateRequest request);

	Integer upload(Integer applicationId, String alias, byte[] bytes);

	Collection<Certificate> listByApplication(Integer applicationId);

}
